package com.fatcat.easybuy.pojo;
import java.util.Date;

/**
 *
 * @TableName easybuy_user_address
 */
public class EasyBuyUserAddress {
    /**
     * 主键id
     */
    private Integer id;

    /**
     * 用户主键
     */
    private Long userId;

    /**
     * 地址
     */
    private String address;


    //具体地址
    private String DetailedAddress;

    //收货人
    private String recipient;

    //联系电话
    private String mobile;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 是否是默认地址（1:是 0否）
     */
    private Integer isDefault;

    /**
     * 备注
     */
    private String remark;

    private Integer isDelete;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDetailedAddress() {
        return DetailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        DetailedAddress = detailedAddress;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "EasyBuyUserAddress{" +
                "id=" + id +
                ", userid=" + userId +
                ", address='" + address + '\'' +
                ", createtime=" + createTime +
                ", isdefault=" + isDefault +
                ", remark='" + remark + '\'' +
                '}';
    }
}